package cn.kshost.zqyg.manager.service.impl;

import cn.kshost.zqyg.manager.mapper.ProductUnitMapper;
import cn.kshost.zqyg.manager.service.ProductUnitService;
import cn.kshost.zqyg.model.entity.base.ProductUnit;
import com.github.pagehelper.PageInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ProductUnitServiceImpl implements ProductUnitService {

    @Autowired
    private ProductUnitMapper productUnitMapper;
    @Override
    public List<ProductUnit>findAll() {
      List<ProductUnit> productUnitList =   productUnitMapper.selectAll();
      return productUnitList;
    }
}
